/**
 * Project Name:dubbox-demo
 * File Name:UserRestService
 * Package Name:com.fft.dubbox.servicce
 * Date:2016/6/2115:03
 * Copyright (c) 2016,  www.shfft.com All Rights Reserved.
 */
package com.fft.dubbox.servicce;

import com.fft.dubbox.dto.User;

import javax.validation.constraints.Min;

/**
 * ClassName: UserRestService
 * Reason: Rest服务接口.
 * date: 2016/6/21 15:03
 *
 * @author libin
 * @since JDK 1.6
 */
public interface UserRestService {

    User getUser(@Min(value = 1L, message = "User ID must be greater than 1") Long id);

}
